/**********************************************************
 * Creditcard.java
 * Created by ankur
 * Last modified Date: Sep 10, 2008 9:03:12 AM by ankur
 * Version : 0.1
 * Copyright (c) 2008 - 2008 cyberThink Infotech Pvt. Ltd., All rights reserved.
 **********************************************************/

package com.printeverywhere.dto;

/**
 * The Class Creditcard.
 */

public class Creditcard  implements java.io.Serializable {

    // Fields

     /** The creadit card id. */
    private Integer creaditCardId;

     /** The credit card type. */
     private CreditCardType creditCardType;

     /** The user. */
     private User user;

     /** The first name. */
     private String firstName;

     /** The last name. */
     private String lastName;

     /** The card number. */
     private Integer cardNumber;

     /** The name on card. */
     private String nameOnCard;

     /** The ex month. */
     private Integer exMonth;

     /** The ex year. */
     private Integer exYear;

     /** The cvn. */
     private Integer cvn;

     /** The issue number. */
     private Integer issueNumber;

     /** The street. */
     private String street;

     /** The zip. */
     private String zip;

     /** The city. */
     private String city;

     /** The state. */
     private String state;

     /** The country. */
     private String country;

    // Constructors

    /**
     * Instantiates a new creditcard.
     */
    public Creditcard() {
    }


    /**
     * Instantiates a new creditcard.
     *
     * @param creditCardType the credit card type
     * @param user the user
     * @param firstName the first name
     * @param lastName the last name
     * @param cardNumber the card number
     * @param nameOnCard the name on card
     * @param exMonth the ex month
     * @param exYear the ex year
     * @param cvn the cvn
     * @param issueNumber the issue number
     * @param street the street
     * @param zip the zip
     * @param city the city
     * @param state the state
     * @param country the country
     */
    public Creditcard(CreditCardType creditCardType, User user, String firstName, String lastName, Integer cardNumber, String nameOnCard, Integer exMonth, Integer exYear, Integer cvn, Integer issueNumber, String street, String zip, String city, String state, String country) {
        this.creditCardType = creditCardType;
        this.user = user;
        this.firstName = firstName;
        this.lastName = lastName;
        this.cardNumber = cardNumber;
        this.nameOnCard = nameOnCard;
        this.exMonth = exMonth;
        this.exYear = exYear;
        this.cvn = cvn;
        this.issueNumber = issueNumber;
        this.street = street;
        this.zip = zip;
        this.city = city;
        this.state = state;
        this.country = country;
    }

       // Property accessors

    /**
     * Gets the creadit card id.
     *
     * @return the creadit card id
     */
    public Integer getCreaditCardId() {
        return this.creaditCardId;
    }

    /**
     * Sets the creadit card id.
     *
     * @param creaditCardId the new creadit card id
     */
    public void setCreaditCardId(Integer creaditCardId) {
        this.creaditCardId = creaditCardId;
    }

    /**
     * Gets the credit card type.
     *
     * @return the credit card type
     */
    public CreditCardType getCreditCardType() {
        return this.creditCardType;
    }

    /**
     * Sets the credit card type.
     *
     * @param creditCardType the new credit card type
     */
    public void setCreditCardType(CreditCardType creditCardType) {
        this.creditCardType = creditCardType;
    }

    /**
     * Gets the user.
     *
     * @return the user
     */
    public User getUser() {
        return this.user;
    }

    /**
     * Sets the user.
     *
     * @param user the new user
     */
    public void setUser(User user) {
        this.user = user;
    }

    /**
     * Gets the first name.
     *
     * @return the first name
     */
    public String getFirstName() {
        return this.firstName;
    }

    /**
     * Sets the first name.
     *
     * @param firstName the new first name
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * Gets the last name.
     *
     * @return the last name
     */
    public String getLastName() {
        return this.lastName;
    }

    /**
     * Sets the last name.
     *
     * @param lastName the new last name
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * Gets the card number.
     *
     * @return the card number
     */
    public Integer getCardNumber() {
        return this.cardNumber;
    }

    /**
     * Sets the card number.
     *
     * @param cardNumber the new card number
     */
    public void setCardNumber(Integer cardNumber) {
        this.cardNumber = cardNumber;
    }

    /**
     * Gets the name on card.
     *
     * @return the name on card
     */
    public String getNameOnCard() {
        return this.nameOnCard;
    }

    /**
     * Sets the name on card.
     *
     * @param nameOnCard the new name on card
     */
    public void setNameOnCard(String nameOnCard) {
        this.nameOnCard = nameOnCard;
    }

    /**
     * Gets the ex month.
     *
     * @return the ex month
     */
    public Integer getExMonth() {
        return this.exMonth;
    }

    /**
     * Sets the ex month.
     *
     * @param exMonth the new ex month
     */
    public void setExMonth(Integer exMonth) {
        this.exMonth = exMonth;
    }

    /**
     * Gets the ex year.
     *
     * @return the ex year
     */
    public Integer getExYear() {
        return this.exYear;
    }

    /**
     * Sets the ex year.
     *
     * @param exYear the new ex year
     */
    public void setExYear(Integer exYear) {
        this.exYear = exYear;
    }

    /**
     * Gets the cvn.
     *
     * @return the cvn
     */
    public Integer getCvn() {
        return this.cvn;
    }

    /**
     * Sets the cvn.
     *
     * @param cvn the new cvn
     */
    public void setCvn(Integer cvn) {
        this.cvn = cvn;
    }

    /**
     * Gets the issue number.
     *
     * @return the issue number
     */
    public Integer getIssueNumber() {
        return this.issueNumber;
    }

    /**
     * Sets the issue number.
     *
     * @param issueNumber the new issue number
     */
    public void setIssueNumber(Integer issueNumber) {
        this.issueNumber = issueNumber;
    }

    /**
     * Gets the street.
     *
     * @return the street
     */
    public String getStreet() {
        return this.street;
    }

    /**
     * Sets the street.
     *
     * @param street the new street
     */
    public void setStreet(String street) {
        this.street = street;
    }

    /**
     * Gets the city.
     *
     * @return the city
     */
    public String getCity() {
        return this.city;
    }

    /**
     * Sets the city.
     *
     * @param city the new city
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * Gets the state.
     *
     * @return the state
     */
    public String getState() {
        return this.state;
    }

    /**
     * Sets the state.
     *
     * @param state the new state
     */
    public void setState(String state) {
        this.state = state;
    }

    /**
     * Gets the country.
     *
     * @return the country
     */
    public String getCountry() {
        return this.country;
    }

    /**
     * Sets the country.
     *
     * @param country the new country
     */
    public void setCountry(String country) {
        this.country = country;
    }


	public String getZip() {
		return zip;
	}


	public void setZip(String zip) {
		this.zip = zip;
	}
}